home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 18 / Developer Source Volume 18 (I-MODE Publications, Inc.)(2000).iso / visua / 921 / wilsf103.gif < prev    next >
Graphics Interchange Format  |  1999-07-12  |  49KB  |  630x272  |  4-bit (16 colors)
Labels: text | screenshot | number | font | document
OCR: MulticastSocket Class Methods Description public [netAddress getinterface() Returns the InetAddress object representing the interface to which throws SocketException the MulticastSocket object is currently bound public byte gel! [L ]) throws IOException Returnis the current TTL value. public void joinGroup(InetAddress mcostaddr) Joins the specified multicast group. Causes the host to send an throws IOException IGMP notification message to any router attached to the same seg- ment os the host public void leave Group (inetAddress mcastaddr) `Causes the application to leave the specified multicast group, The throws IOException `host sends an IGMP message to the router specifying that the host is leaving the specified multicast group public synchronized void send (DatagramPacket Sends o Datagramfacket object with o user-specified TTL value. p. byte till throws IOException public void setInterface(InetAddress inf) Allows the application to specify the network interface on the host throws SocketException to use for sending packets with this MulticastSocket object. Used on multi homed hosts: public void setTIL(byte til) throws IOException "Allows the application to specify o default JTL value Figure 3: MulticastSocket methods